package com.wtwd.device.model.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author mjy
 * @date 2021/09/06
 * @description
 */
@ApiModel(value="BloodSugarInfo对象", description="")
public class BloodSugarInfo {


    /**
     * 血糖测量时间
     */
    @ApiModelProperty(value = "血糖测量时间",required = false)
    private int time;

    /**
     * 血糖值
     */
    @ApiModelProperty(value = "血糖值",required = false)
    private int bloodSugar;

    public int getTime() {
        return time;
    }

    public void setTime(int time) {
        this.time = time;
    }

    public int getBloodSugar() {
        return bloodSugar;
    }

    public void setBloodSugar(int bloodSugar) {
        this.bloodSugar = bloodSugar;
    }

    @Override
    public String toString() {
        return "BloodSugarInfo{" +
                "time=" + time +
                ", bloodSugar=" + bloodSugar +
                '}';
    }
}
